#pragma once

#include "../../resource.h"
#include "Vec.h"
#include "afxwin.h"

// CSKObjectMove

class CSKObjectMove : public CDialog
{
	DECLARE_DYNAMIC(CSKObjectMove)

public:
	CSKObjectMove(CWnd* pParent = NULL);
	virtual ~CSKObjectMove();


	enum { IDD = IDD_SKOBJECTMOVE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();

private:
	CVec			m_oBackPt;
public:
	CButton m_btnActiveNode;
	double m_distance;
};


struct CSKObjectMoveObject
{
	CSKObjectMoveObject()
	{
		bActiveNode = false;
		dDistance = 0.0;
	}

	bool bActiveNode;
	double dDistance;
};